package com.memorypalace.deck.mapper;

import java.util.List;

import com.memorypalace.deck.vo.DeckQueryPageBean;
import com.memorypalace.deck.vo.NoteCardCardStudyRecord;
import com.memorypalace.deck.vo.NoteNoteTypeCardStyle;
import com.memorypalace.deck.vo.ScreenConditions;
import com.memorypalace.pojo.Deck;

public interface DeckMapper {
	
	Boolean addDeck(Deck deck);
	Boolean modifyDeck(Deck deck);
	Boolean deleteDeck(String deckId);
	List<Deck> getQueryPagedDataDecks(DeckQueryPageBean bean);
	Integer getQueryDataCountDecks(DeckQueryPageBean bean);
	
	List<Deck> getDecksByUserId(String userId);
	Deck getDecksByDeckId(String deckId);
	
	List<Deck> getDecksByScreenConditions(ScreenConditions screenConditions);
	
	List<NoteNoteTypeCardStyle> getNoteNoteTypeCardStyle(String deckId);
	List<NoteCardCardStudyRecord> getNoteCardCardStudyRecord(String deckId);
}
